package cn.tansanqinger.service.topic;

import java.util.Map;

import javax.servlet.http.HttpServletRequest;

import org.springframework.stereotype.Service;

import cn.tansanqinger.pojo.Topic;

@Service
public interface ITopicService {
	
	//根据筛选信息查询数据
	public Map<String, Object> selectMessage(HttpServletRequest request);
	
	//确定下一个编号
	public Map<String, Object> serialNumber();
	
	//保存信息
	public Map<String, Object> add(HttpServletRequest request);
	
	//修改状态
	public Map<String, Object> updateStatus(String id);
	
	//通过id查询信息
	public Topic selectIdOne(String id);
	
	//删除信息
	public Map<String, Object> delete(String id);
	
	//修改信息
	public Map<String, Object> modification(HttpServletRequest request);
	
	//修改信息
	public Map<String, Object> modification2(HttpServletRequest request);
	
	//查询被举报的评论
	public Map<String, Object> selectReportComment(HttpServletRequest request);
	
	//删除之前的那条评论
	public Map<String, Object> deleteComment(HttpServletRequest request);
	
	//忽略评论举报
	public Map<String, Object> ignoreComment(HttpServletRequest request);

}
